#class {
    background-color: #f6f6f6;
    padding-top: 3vw;
    padding-bottom: 3vw;


    .classBox {
        margin: 0 auto;
        width: 90%;
        height: 30vw;
        display: flex;
        color: rgb(206, 210, 213);

        .left {
            width: 20%;

            .class-ul {
                padding-top: 8px;
                height: 100%;
                background-color: rgb(48, 46, 46);
                font-size: 1.5rem;

                >li>a {
                    border-radius: unset;
                    color: #bcafaf;
                }

            }

            .nav>li>a:hover {
                background-color: rgb(19, 127, 169);
            }
        }

        .right {
            margin-left: -1px;
            width: 80%;
            background-image: url('/images/index/矩形\ 4.png');
            background-size: cover;
            display: flex;

            .contentLeft {
                width: 43%;
                text-align: center;

                h5:nth-child(1) {
                    margin-top: 70px;
                    font-size: 35px;
                    letter-spacing: 2px;
                    color: #f6f6f6;
                }

                h5:nth-child(2) {
                    margin-top: 5px;
                    font-size: 16px;
                    color: #f6f6f6;
                }

                h5:nth-child(3) {
                    margin-top: 32px;
                    font-size: 16px;
                    letter-spacing: 3px;
                    color: #f6f6f6;
                }

                p {
                    margin-top: 8px;
                    font-size: 11px;
                    font-family: OSLtalic;
                    color: #f6f6f6;
                    letter-spacing: 0.5px;
                }

                button {
                    background-color: red;
                    border-radius: 6px;
                    margin-top: 20px;
                }
            }

            .contentRight {
                width: 57%;
                text-align: center;

                img {
                    width: 65%;
                    height: auto;
                    margin-top: 35px;

                }
            }

        }
    }


}

#recommend {
    .recommendBox {
        width: 90%;
        text-align: center;
        margin: 0 auto;
        padding-top: 3vw;
        padding-bottom: 3vw;


        h3 {
            font-size: 25px;
            font-weight: 500;
        }

        .text {
            font-size: 14px;
            letter-spacing: 1px;
            padding-left: 4px;
            padding-right: 4px;
            font-weight: 500;
        }

        .line {
            display: inline-block;
            width: 60px;
            border-top: 2px solid #cccccc;
            vertical-align: 5px;
        }

        .classList {
            display: flex;
            justify-content: space-between;
            margin-top: 30px;

            .item {
                width: 24%;
                display: flex;
                flex-direction: column;
                align-items: center;

                img {
                    width: 100%;
                    height: auto;
                }

                .txt {
                    width: 90%;
                    text-align: center;
                    font-size: 14px;
                    font-family: OSBold;
                    margin-top: 15px;
                    font-weight: 600;
                    letter-spacing: 1px;
                }

                .down {
                    width: 85%;
                    margin-top: 15px;
                    display: flex;
                    justify-content: space-between;
                    align-items: center;

                    .price {
                        width: 60px;
                        font-size: 1.4rem;
                        color: #1749b0;
                        font-weight: 700;
                    }

                    button {
                        padding: 3px;
                        background-color: #1749b0;
                        color: #FFFFFF;
                        border-radius: 5px;
                        width: 80px;
                        border: unset;

                    }
                }


            }
        }
    }
}

#newClass {
    background-color: #f6f6f6;

    .newClassBox {
        width: 90%;
        text-align: center;
        margin: 0 auto;
        padding-top: 3vw;
        padding-bottom: 3vw;


        h3 {
            font-size: 25px;
            font-weight: 500;
        }

        .text {
            font-size: 14px;
            letter-spacing: 1px;
            padding-left: 4px;
            padding-right: 4px;
            font-weight: 500;
        }

        .line {
            display: inline-block;
            width: 60px;
            border-top: 2px solid #cccccc;
            vertical-align: 5px;
        }

        .classList {
            display: flex;
            justify-content: space-between;
            margin-top: 30px;

            .item {
                width: 24%;
                display: flex;
                flex-direction: column;
                align-items: center;

                img {
                    width: 100%;
                    height: auto;
                }

                .txt {
                    width: 90%;
                    text-align: center;
                    font-size: 14px;
                    font-family: OSBold;
                    margin-top: 15px;
                    font-weight: 600;
                    letter-spacing: 1px;
                }

                .down {
                    width: 85%;
                    margin-top: 15px;
                    display: flex;
                    justify-content: space-between;
                    align-items: center;

                    .price {
                        width: 60px;
                        font-size: 1.4rem;
                        color: #1749b0;
                        font-weight: 700;
                    }

                    button {
                        padding: 3px;
                        background-color: #1749b0;
                        color: #FFFFFF;
                        border-radius: 5px;
                        width: 80px;
                        border: unset;

                    }
                }


            }
        }
    }
}

#beginner {
    .beginnerBox {
        width: 90%;
        text-align: center;
        margin: 0 auto;
        padding-top: 3vw;
        padding-bottom: 3vw;


        h3 {
            font-size: 25px;
            font-weight: 500;
        }

        .text {
            font-size: 14px;
            letter-spacing: 1px;
            padding-left: 4px;
            padding-right: 4px;
            font-weight: 500;
        }

        .line {
            display: inline-block;
            width: 60px;
            border-top: 2px solid #cccccc;
            vertical-align: 5px;
        }

        .top {
            display: flex;
            width: 100%;
            justify-content: space-around;
            margin-top: 30px;

            .left,
            .right {
                width: 45%;
                position: relative;
                text-align: center;
                color: #ece2e2;

                img {
                    width: 100%;
                }

                .p1 {
                    width: 100%;
                    position: absolute;
                    top: 25%;
                    text-align: center;
                    letter-spacing: 2px;
                    font-size: 1.5rem;
                    font-weight: 500;
                    z-index: 999;
                }

                .p2 {
                    width: 100%;
                    position: absolute;
                    top: 60%;
                    text-align: center;
                    font-size: 1.1rem;
                    z-index: 999;

                }

                .shadow {
                    position: absolute;
                    top: 0;
                    right: 0;
                    bottom: 0;
                    left: 0;
                    background-color: rgba(54, 51, 51, 0.3);
                    z-index: 99;
                    border-radius: 12px;
                }
            }

        }

        .classList {
            display: flex;
            justify-content: space-between;
            margin-top: 30px;

            .item {
                width: 24%;
                display: flex;
                flex-direction: column;
                align-items: center;

                img {
                    width: 100%;
                    height: auto;
                }

                .txt {
                    width: 90%;
                    text-align: center;
                    font-size: 14px;
                    font-family: OSBold;
                    margin-top: 15px;
                    font-weight: 600;
                    letter-spacing: 1px;
                }

                .down {
                    width: 85%;
                    margin-top: 15px;
                    display: flex;
                    justify-content: space-between;
                    align-items: center;

                    .price {
                        width: 60px;
                        font-size: 1.4rem;
                        color: #1749b0;
                        font-weight: 700;
                    }

                    button {
                        padding: 3px;
                        background-color: #1749b0;
                        color: #FFFFFF;
                        border-radius: 5px;
                        width: 80px;
                        border: unset;

                    }
                }


            }
        }
    }
}

#promote {
    background-color: #f6f6f6;

    .promoteBox {
        width: 90%;
        text-align: center;
        margin: 0 auto;
        padding-top: 3vw;
        padding-bottom: 3vw;


        h3 {
            font-size: 25px;
            font-weight: 500;
        }

        .text {
            font-size: 14px;
            letter-spacing: 1px;
            padding-left: 4px;
            padding-right: 4px;
            font-weight: 500;
        }

        .line {
            display: inline-block;
            width: 60px;
            border-top: 2px solid #cccccc;
            vertical-align: 5px;
        }

        .top {
            display: flex;
            width: 100%;
            justify-content: space-around;
            margin-top: 30px;

            .left,
            .right {
                width: 45%;
                position: relative;
                text-align: center;
                color: #ece2e2;

                img {
                    width: 100%;
                }

                .p1 {
                    width: 100%;
                    position: absolute;
                    top: 25%;
                    text-align: center;
                    letter-spacing: 2px;
                    font-size: 1.5rem;
                    font-weight: 500;
                    z-index: 999;
                }

                .p2 {
                    width: 100%;
                    position: absolute;
                    top: 60%;
                    text-align: center;
                    font-size: 1.1rem;
                    z-index: 999;

                }

                .shadow {
                    position: absolute;
                    top: 0;
                    right: 0;
                    bottom: 0;
                    left: 0;
                    background-color: rgba(54, 51, 51, 0.3);
                    z-index: 99;
                    border-radius: 12px;
                }
            }

        }

        .classList {
            display: flex;
            justify-content: space-between;
            margin-top: 30px;

            .item {
                width: 24%;
                display: flex;
                flex-direction: column;
                align-items: center;

                img {
                    width: 100%;
                    height: auto;
                }

                .txt {
                    width: 90%;
                    text-align: center;
                    font-size: 14px;
                    font-family: OSBold;
                    margin-top: 15px;
                    font-weight: 600;
                    letter-spacing: 1px;
                }

                .down {
                    width: 85%;
                    margin-top: 15px;
                    display: flex;
                    justify-content: space-between;
                    align-items: center;

                    .price {
                        width: 60px;
                        font-size: 1.4rem;
                        color: #1749b0;
                        font-weight: 700;
                    }

                    button {
                        padding: 3px;
                        background-color: #1749b0;
                        color: #FFFFFF;
                        border-radius: 5px;
                        width: 80px;
                        border: unset;

                    }
                }


            }
        }
    }
}

#team {
    background-color: #232c49;

    .teamBox {
        width: 90%;
        text-align: center;
        margin: 0 auto;
        padding-top: 3vw;
        padding-bottom: 3vw;

        h3 {
            font-size: 25px;
            font-weight: 400;
            letter-spacing: 1px;
            color: #fff;
        }

        .text {
            font-size: 14px;
            letter-spacing: 1px;
            padding-left: 4px;
            padding-right: 4px;
            font-weight: 300;
            color: #fff;
        }

        .line {
            display: inline-block;
            width: 60px;
            border-top: 1px solid #cccccc;
            vertical-align: 5px;
        }

        .classList {
            display: flex;
            justify-content: space-between;
            margin-top: 90px;

            .item {
                position: relative;
                width: 24%;
                background-color: #fff;
                display: flex;
                flex-direction: column;
                align-items: center;
                border-radius: 4px;
                padding-bottom: 20px;

                .avatar img {
                    width: 100px;
                    height: 100px;
                    border-radius: 50%;
                    position: absolute;
                    top: -50px;
                    left: 45px;
                }

                h5 {
                    font-size: 18px;
                    font-weight: 500;
                    margin-top: 70px;
                }

                .role {
                    font-size: 16px;
                    width: 90%;
                }

                .txt {
                    width: 90%;
                    font-size: 12px;
                    margin-top: 15px;
                }
            }
        }
    }
}

@media screen and (max-width: 1024px){
   
}

@media screen and (max-width: 768px) {
    #class {
        .classBox {
            height: 125vw;

            .right {
                flex-direction: column;
                align-items: center;
                justify-content: space-around;

                .contentLeft {
                    width: 90%;
                }

            }
        }
    }

    #recommend .recommendBox,
    #newClass .newClassBox,
    #beginner .beginnerBox,
    #promote .promoteBox {
        .top {
            flex-direction: column;

            .left,
            .right {
                width: 100%;
                margin-top: 10px;
            }
        }

        .classList {
            flex-wrap: wrap;

            .item {
                width: 100%;
                margin-top: 15px;

                .down {
                    width: 80%;
                }
            }
        }
    }

    #team .teamBox {
        .classList {
            flex-wrap: wrap;

            & .item:first-child{
                margin-top: unset;
            }

            & .item:last-child{
               margin-bottom: 30px;
            }

            .item {
                width: 100%;
                margin-top: 90px;

                .avatar img {
                    left: 125px;
                }

                .down {
                    width: 90%;
                }
            }

        }
    }
}